package io.github.cubelitblade.librarymanagementbackend.vo;

import io.github.cubelitblade.librarymanagementbackend.entity.Book;
import io.github.cubelitblade.librarymanagementbackend.entity.Category;
import lombok.AllArgsConstructor;
import lombok.Data;
import java.util.List;

@Data
@AllArgsConstructor
public class CategoryWithBooksVO {
    private Category category;
    private List<Book> books;
    private long total; // 总条数
    private long pages; // 总页数
    private long current; // 当前页
    private long size;
}

